
<div class='center_form'>
    <div class="center_form_right">
        <div class='center_form_btn_div' onclick='javascript:Common.submit();'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("nextBtn"); ?></div>
        </div>
        <div class='center_form_btn_div' onclick='javascript:Common.gotoUrl("<?php echo HttpUtil::baseUrl();?>/metadata/set");'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/cancel.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("cancelBtn"); ?></div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="centerbig_form">
      <div class="center_top"><span class="center_top_title"><?php echo $this->translate("addMetadataSet"); ?></span></div>
      <div class="right_form_content">
            <div class="centerbig_right">
               <div class="form_content">
                    <form action="<?php echo $this->action; ?>" method="post">
                        
                        <div class="form_line_div">
							<div class="form_element_label">
								<input type="radio" id="addSet" name="addSetFrom" value="addSet" checked="checked" />
							</div>
							<div class="form_element" >
								<span class="from_element_radio_label"><?php echo $this->translate("addSet"); ?></span>
							</div>
						</div>
						<div class="clear"></div>
						
						<div class="form_line_div">
							<div class="form_element_label">
								<input type="radio" id="addSetFromExist" name="addSetFrom" value="addSetFromExist" />
							</div>
							<div class="form_element" >
								<span class="from_element_radio_label"><?php echo $this->translate("addSetFromExist"); ?></span>
							</div>
						</div>
						<div class="clear"></div>
						
						<div class="form_line_div">
							<div class="form_element_label">
								&nbsp;
							</div>
							<div class="form_element" >
								<select multiple="multiple" id="ExistSet" name="ExistSet" size="10" style="width: 150px;">
								<?php 
								foreach($this->setList as $set){
									echo '<option value="'.$set->id.'">'.$set->title.'</option>';
								}
								?>
								</select>
							</div>
						</div>
						<div class="clear"></div>
                    </form>

               </div>
            </div>
      </div>
      <div class='clear'></div>
</div>
<div class='clear'></div>
<div id="searchDialog">
</div>